Removed - didn't work and not particularly useful anyways if it did.
authorOwen Taylor <otaylor@redhat.com>
Sun, 24 Jun 2001 16:08:15 +0000 (16:08 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 24 Jun 2001 16:08:15 +0000 (16:08 +0000)
Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size):
        Removed - didn't work and not particularly useful anyways
if it did.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktextview.c
gtk/gtktextview.h

index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index d822f272db5da0525646c201559b59db6690f873..99bfd4ac8ef04cfed95415e58dc2c401e6ba4730 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jun 24 12:06:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktextview.[ch] (gtk_text_view_set_text_window_size): 
+       Removed - didn't work and not particularly useful anyways
+       if it did. 
+
 Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
index 2d7a7d1e9faec40bb5e23351136f594a8fc79e18..0521c0e5e54d6dc4513f5bcc761ba04d7f281e92 100644 (file)
@@ -6088,40 +6088,6 @@ gtk_text_view_get_border_window_size (GtkTextView       *text_view,
   return 0;
 }
 
-/**
- * gtk_text_view_set_text_window_size:
- * @text_view: a #GtkTextView
- * @width: a width in pixels
- * @height: a height in pixels
- *
- * Sets the size request for the main text window (%GTK_TEXT_WINDOW_TEXT).
- * If the widget gets more space than it requested, the main text window
- * will be larger than this.
- *
- **/
-void
-gtk_text_view_set_text_window_size (GtkTextView *text_view,
-                                    gint         width,
-                                    gint         height)
-{
-  GtkTextWindow *win;
-
-  g_return_if_fail (GTK_IS_TEXT_VIEW (text_view));
-  g_return_if_fail (width > 0);
-  g_return_if_fail (height > 0);
-
-  win = text_view->text_window;
-
-  if (win->requisition.width == width &&
-      win->requisition.height == height)
-    return;
-
-  win->requisition.width = width;
-  win->requisition.height = height;
-
-  gtk_widget_queue_resize (GTK_WIDGET (text_view));
-}
-
 /*
  * Child widgets
  */
index 197f6db9a718cb91242a0fd782fb102648c81ab6..bcb89b24f97df2377a03d9d3640391eb80e1bb0c 100644 (file)
@@ -250,9 +250,6 @@ void gtk_text_view_set_border_window_size (GtkTextView       *text_view,
                                            gint               size);
 gint gtk_text_view_get_border_window_size (GtkTextView       *text_view,
                                           GtkTextWindowType  type);
-void gtk_text_view_set_text_window_size   (GtkTextView       *text_view,
-                                           gint               width,
-                                           gint               height);
 
 gboolean gtk_text_view_forward_display_line           (GtkTextView       *text_view,
                                                        GtkTextIter       *iter);